package com.k2data.client;//package com.k2data.client;
//
//import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import com.k2data.services.helloworld.HelloWorldPortType;
//
//@Configuration
//public class ClientConfig {
//
//    @Value("${helloworld.service.address}")
//    private String helloworldServiceAddress;
//
//    @Bean(name = "helloWorldClientProxyBean")
//    public HelloWorldPortType opportunityPortType() {
//        JaxWsProxyFactoryBean jaxWsProxyFactoryBean = new JaxWsProxyFactoryBean();
//        jaxWsProxyFactoryBean.setServiceClass(HelloWorldPortType.class);
//        jaxWsProxyFactoryBean.setAddress(helloworldServiceAddress);
//
//        return (HelloWorldPortType) jaxWsProxyFactoryBean.create();
//    }
//
//}
